package com.xinhuoliaoyuan.catagories;

import java.sql.Date; 

public class OutBook 
{
	private String Obid;
	private String Ouid;
	private String Obname;
	private Date Obotime;
	private Date Obrenttime;
    private boolean Obstate;

      
    public OutBook(String Obid,String Obname,String Ouid,Date Obotime,Date Obrenttime,boolean Obstate)
    {
    	this.Obid = Obid;
    	this.Obname = Obname;
    	this.Ouid = Ouid;
    	this.Obotime = Obotime;
    	this.Obrenttime = Obrenttime;
    	this.Obstate = Obstate;


    }
    public OutBook(OutBook obook)
    {
    	this.Obid = obook.Obid;
    	this.Ouid = obook.Ouid;
    	this.Obotime = obook.Obotime;
    	this.Obrenttime = obook.Obrenttime;
    	this.Obstate = obook.Obstate;
    	this.Obname = obook.Obname;
    	
    }
    
    public OutBook()
    {
    	
    }
    
	public String getObid() {
		return Obid;
	}
	public void setObid(String Obid) {
		this.Obid = Obid;
	}
	public String getOuid() {
		return Ouid;
	}
	public void setOuid(String ouid) {
		this.Ouid = ouid;
	}
	public Date getObotime() {
		return Obotime;
	}
	public void setObotime(Date obotime) {
		this.Obotime = obotime;
	}
	public Date getObrenttime() {
		return Obrenttime;
	}
	public void setObrenttime(Date obrenttime) {
		this.Obrenttime = obrenttime;
	}
	public boolean getObstate() {
		return Obstate;
	}
	public void setObstate(boolean obstate) {
		this.Obstate = obstate;
	}
	public String getObname()
	{
		return this.Obname;
	}
	public void setObname(String Obname)
	{
		this.Obname = Obname;
	}
	
	@Override 
	public String toString()
	{
		return Obid+Ouid+Obname+Obotime.toString()+Obrenttime.toString()+Obstate;
	}

}

